<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="pragma" content="no-cache">
  <meta http-equiv="cache-control" content="no-cache">
  <meta http-equiv="expires" content="">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>投资组合管理系统</title>
  <link rel="icon" href="favicon.ico" type="image/x-icon">

</head>

<body style="overflow-y: hidden;">
  <div id="root"></div>
</body>
<script src="gt.js" type="text/javascript"></script>
<script type="text/javascript">
  const routerConfig = [
  "/limitManagemen",
  "/limitMonitoring",
  "/attributionAnalysis", //brinson归因分析
  "/baselineInformation", // 基准信息
  "/userM/institutionManage", // 用户管理-机构配置
  "/userM/station", // 用户管理-岗位配置
  "/userM/role", // 用户管理-角色配置
  "/userM/UserManage", //用户管理-用户配置
  "/maat/visitStatistics", // 运营监控/访问统计
  "/maat/securityMnt/couponPoolDefinition", // 券池管理/券池定义
  "/maat/securityMnt/couponPoolApproval", //券池审批
  "/maat/securityMnt/couponPoolQuery/stock", // 券池管理/券池查询-股票
  "/maat/securityMnt/couponPoolQuery/fund", // 券池管理/券池查询-基金
  "/maat/securityMnt/couponPoolQuery/bond", // 券池管理/券池查询-债券
  "/maat/OTCDerivativesManagement/OptionManagement",  //场外衍生品管理/期权管理
  "/maat/OTCDerivativesManagement/lifeCycleManagementOfOTC",   // 场外衍生品管理/场外期权生命周期管理
  "/maat/OTCDerivativesManagement/OTCOptionContractsMonitoring", //// 场外衍生品管理/场外期权存续合约监控
  "/maat/OTCDerivativesManagement/OTCOptionStresstest", //// 场外衍生品管理/场外期权存续合约监控
  "/maat/proposal/proposalList",  // 投资建议书/建议书查询
  "/maat/proposal/proposalVerify",  //// 投资建议书/建议书审批
  "/maat/proposal/etfProposal", // 投资建议书/ETF建议书
  "/maat/bondDeviationDetail", //债券信息
  "/maat/counterpartyInformation",//交易对手基础信息
  "/maat/counterparty/query",//交易对手详情
  "/maat/counterparty/edit",//交易对手编辑
  "/maat/counterparty/add",//交易对手新增
  "/maat/creditLineManagement/creditSetting",//交易对手授信设置
  "/maat/creditLineManagement/creditOccupation",//交易对手授信监控
  "/maat/counterparty/blackList",//交易对手黑名单
  "/maat/counterparty/whiteList",//交易对手白名单
  "/maat/proposal/positionquery", // 投资建议书/综合查询
  "/maat/performanceAnalysis/netValueAnalysis", // 绩效分析/净值分析
  "/maat/performanceAnalysis/profitAndLossAnalysis", // 绩效分析/盈亏分析
  "/maat/performanceAnalysis/yiledPerformance", // 绩效分析/收益率表现
  "/maat/SysM/auditLog",//系统管理/日志审计
  "/maat/portfolioTracking",//组合管理/组合跟踪
  "/maat/inventoryMnt/positionManage",//库存管理/持仓管理
  "/maat/inventoryMnt/fundManagement", //库存管理/资金管理
  "/maat/tradeInstruction/tradeInstructionQuery",//投资指令/指令查询
  "/maat/tradeInstruction/bondTrade",//投资指令/债券指令
  "/maat/tradeInstruction/buybackOrder",//投资指令/回购指令
  "/maat/portfolioBuild/CollectingMonitoring",//组合管理/汇总监控 
  "/maat/tradeInstruction/fndTrade",//投资指令/场外基金指令
  "/maat/tradeInstruction/stockGroupOrder",//投资指令/股票组合指令

  ]

  let overflow = 'hidden';
  let temp = window.location.href.split('#');
  if(temp && temp.length == 2){
    
    for(let i=0;i< routerConfig.length;i++){
      if(temp[1].indexOf(routerConfig[i]) != -1){
        overflow = 'auto' 
      }    
    }
  }
  if(overflow == 'hidden'){
    
    document.getElementsByTagName('body')[0].style.overflowY = 'hidden';
    
  }else{
    
    document.getElementsByTagName('body')[0].style.overflowY = 'auto';
    document.getElementsByTagName('body')[0].style.overflowX = 'auto';
  }
  
</script>
</html>
